package com.moxiao.yfjh.module.blind.convert.commonphrases;

import com.moxiao.yfjh.module.blind.controller.admin.commonphrases.vo.CommonPhrasesCreateReqVO;
import com.moxiao.yfjh.module.blind.controller.admin.commonphrases.vo.CommonPhrasesExcelVO;
import com.moxiao.yfjh.module.blind.controller.admin.commonphrases.vo.CommonPhrasesRespVO;
import com.moxiao.yfjh.module.blind.controller.admin.commonphrases.vo.CommonPhrasesUpdateReqVO;
import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.commonphrases.vo.*;
import com.moxiao.yfjh.module.blind.dal.dataobject.commonphrases.CommonPhrasesDO;

/**
 * 相亲会员常用语 Convert
 *
 * @author mx
 */
@Mapper
public interface CommonPhrasesConvert {

    CommonPhrasesConvert INSTANCE = Mappers.getMapper(CommonPhrasesConvert.class);

    CommonPhrasesDO convert(CommonPhrasesCreateReqVO bean);

    CommonPhrasesDO convert(CommonPhrasesUpdateReqVO bean);

    CommonPhrasesRespVO convert(CommonPhrasesDO bean);

    List<CommonPhrasesRespVO> convertList(List<CommonPhrasesDO> list);

    PageResult<CommonPhrasesRespVO> convertPage(PageResult<CommonPhrasesDO> page);

    List<CommonPhrasesExcelVO> convertList02(List<CommonPhrasesDO> list);

}
